package edu.ccut.saturn.operation.database;

import java.sql.Connection;

import edu.ccut.saturn.component.SaturnData;

public class Insert {
	private static edu.ccut.saturn.basecomponent.database.facade.Insert facade = null;
	private static Insert instance  = new Insert();
    private Insert(){
    	facade = new edu.ccut.saturn.basecomponent.database.facade.Insert();
    };
    public static Insert getInstance(){
    	return instance;
    }

	public int execute(SaturnData saturnData,Connection conn) throws Exception {
		return facade.execute(saturnData, conn);
	}

}
